
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第 7 章 HDFS的shell操作 · 大数据hadoop课堂笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content=" 李振超">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-base16-ateliersulphurpool.light.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-change_girls/girls.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html" />
    
    
    <link rel="prev" href="di-6-zhang-hdfs-gai-shu.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.atguigu.com/" target="_blank" class="custom-link">联系我们</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">第 1 部分 Hadoop入门</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    本书介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../chapter1.html">
            
                <a href="../chapter1.html">
            
                    
                    第 1 章 大数据概论
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../chapter1/11da-shu-ju-gai-nian.html">
            
                <a href="../chapter1/11da-shu-ju-gai-nian.html">
            
                    
                    1.1大数据概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../chapter1/12-da-shu-ju-ying-yong-chang-jing.html">
            
                <a href="../chapter1/12-da-shu-ju-ying-yong-chang-jing.html">
            
                    
                    1.2 大数据应用场景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../chapter1/13-da-shu-ju-de-fa-zhan-qian-jing.html">
            
                <a href="../chapter1/13-da-shu-ju-de-fa-zhan-qian-jing.html">
            
                    
                    1.3 大数据的发展前景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../chapter1/14-da-shu-ju-de-te-dian.html">
            
                <a href="../chapter1/14-da-shu-ju-de-te-dian.html">
            
                    
                    1.4 大数据的特点
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../di-2-zhang-hadoop-gai-shu.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu.html">
            
                    
                    第 2 章 Hadoop 概述
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../di-2-zhang-hadoop-gai-shu/21-hadoopshi-shi-yao.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/21-hadoopshi-shi-yao.html">
            
                    
                    2.1 Hadoop是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../di-2-zhang-hadoop-gai-shu/22-hadoopfa-zhan-li-shi.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/22-hadoopfa-zhan-li-shi.html">
            
                    
                    2.2 Hadoop发展简史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../di-2-zhang-hadoop-gai-shu/23-hadoopde-san-da-fa-xing-ban-ben.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/23-hadoopde-san-da-fa-xing-ban-ben.html">
            
                    
                    2.3 Hadoop的发行版本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../di-2-zhang-hadoop-gai-shu/24-hadoopde-you-shi.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/24-hadoopde-you-shi.html">
            
                    
                    2.4 Hadoop的优势
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai.html">
            
                    
                    第 3 章 Hadoop的组成模块
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/31-hadoop1xde-zu-cheng.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/31-hadoop1xde-zu-cheng.html">
            
                    
                    3.1 Hadoop1.x的组成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng.html">
            
                    
                    3.2 Hadoop2.x的组成
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/321-hdfsjia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/321-hdfsjia-gou-gai-shu.html">
            
                    
                    3.2.1 HDFS架构概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/322-yarn-jia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/322-yarn-jia-gou-gai-shu.html">
            
                    
                    3.2.2 YARN 架构概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.3" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/323-mapreducejia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/323-mapreducejia-gou-gai-shu.html">
            
                    
                    3.2.3 MapReduce架构概述
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian.html">
            
                    
                    第 4 章 Hadoop 运行环境搭建
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/41-zhun-bei-xu-ni-ji-huan-jing.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/41-zhun-bei-xu-ni-ji-huan-jing.html">
            
                    
                    4.1 准备虚拟机环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/42-an-zhuang-jdk.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/42-an-zhuang-jdk.html">
            
                    
                    4.2 安装jdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/43-an-zhuang-hadoop.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/43-an-zhuang-hadoop.html">
            
                    
                    4.3 安装 Hadoop
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../di-4-zhang-yun-xing-hadoop.html">
            
                <a href="../di-4-zhang-yun-xing-hadoop.html">
            
                    
                    第 5 章 运行 Hadoop
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../di-4-zhang-yun-xing-hadoop/51-ben-di-yun-xing-mo-shi.html">
            
                <a href="../di-4-zhang-yun-xing-hadoop/51-ben-di-yun-xing-mo-shi.html">
            
                    
                    5.1 本地运行模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../di-4-zhang-yun-xing-hadoop/52-wei-fen-bu-yun-xing-mo-shi.html">
            
                <a href="../di-4-zhang-yun-xing-hadoop/52-wei-fen-bu-yun-xing-mo-shi.html">
            
                    
                    5.2 伪分布运行模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../di-4-zhang-yun-xing-hadoop/53-wan-quan-fen-bu-yun-xing-mo-shi.html">
            
                <a href="../di-4-zhang-yun-xing-hadoop/53-wan-quan-fen-bu-yun-xing-mo-shi.html">
            
                    
                    5.3 完全分布运行模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第 2 部分 HDFS</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="di-6-zhang-hdfs-gai-shu.html">
            
                <a href="di-6-zhang-hdfs-gai-shu.html">
            
                    
                    第 6 章 HDFS概述
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.2" data-path="di-7-zhang-hdfs-de-shell-cao-zuo.html">
            
                <a href="di-7-zhang-hdfs-de-shell-cao-zuo.html">
            
                    
                    第 7 章 HDFS的shell操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html">
            
                    
                    第 8 章 HDFS客户端操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.html">
            
                    
                    8.1 客户端环境准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.html">
            
                    
                    8.2 使用Java程序来访问HDFS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.html">
            
                    
                    8.3 在HDFS中创建目录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.html">
            
                    
                    8.4 上传文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.html">
            
                    
                    8.5 下载文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.html">
            
                    
                    8.6 文件夹删除
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.html">
            
                    
                    8.7 文件名更改
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.html">
            
                    
                    8.8 文件详情查看
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.html">
            
                    
                    8.9 文件和文件夹判断
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.html">
            
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.html">
            
                    
                    8.10 HDFS的I/O流操作
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="di-9-zhang-hdfs-shu-ju-liang.html">
            
                <a href="di-9-zhang-hdfs-shu-ju-liang.html">
            
                    
                    第 9 章 HDFS读写数据流
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="di-9-zhang-hdfs-shu-ju-liang/91-xiang-hdfs-xie-ru-shu-ju-de-liu-cheng.html">
            
                <a href="di-9-zhang-hdfs-shu-ju-liang/91-xiang-hdfs-xie-ru-shu-ju-de-liu-cheng.html">
            
                    
                    9.1 从HDFS读取数据的流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="di-9-zhang-hdfs-shu-ju-liang/92-cong-hdfs-du-qu-shu-ju-de-liu-cheng.html">
            
                <a href="di-9-zhang-hdfs-shu-ju-liang/92-cong-hdfs-du-qu-shu-ju-de-liu-cheng.html">
            
                    
                    9.2 向HDFS写入数据的流程
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="di-10-zhang-namenode-he-secondarynamenode.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode.html">
            
                    
                    第 10 章 NameNode和SecondaryNameNode
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="di-10-zhang-namenode-he-secondarynamenode/101-gong-zuo-ji-zhi.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/101-gong-zuo-ji-zhi.html">
            
                    
                    10.1 NameNode和SecondaryNameNode工作机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="di-10-zhang-namenode-he-secondarynamenode/102-namenodede-wen-jian-mu-lu-jie-gou.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/102-namenodede-wen-jian-mu-lu-jie-gou.html">
            
                    
                    10.2 NameNode的文件目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="di-10-zhang-namenode-he-secondarynamenode/103-secondarynamenodede-wen-jian-mu-lu-jie-gou.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/103-secondarynamenodede-wen-jian-mu-lu-jie-gou.html">
            
                    
                    10.3 SecondaryNameNode的文件目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.4" data-path="di-10-zhang-namenode-he-secondarynamenode/104-namenodegu-zhang-chu-li.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/104-namenodegu-zhang-chu-li.html">
            
                    
                    10.4 NameNode故障处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.5" data-path="di-10-zhang-namenode-he-secondarynamenode/105-ji-qun-an-quan-mo-shi.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/105-ji-qun-an-quan-mo-shi.html">
            
                    
                    10.5 集群安全模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.6" data-path="di-10-zhang-namenode-he-secondarynamenode/106-namenodeduo-mu-lu-pei-zhi.html">
            
                <a href="di-10-zhang-namenode-he-secondarynamenode/106-namenodeduo-mu-lu-pei-zhi.html">
            
                    
                    10.6 NameNode多目录配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="di-11-zhang-datanode.html">
            
                <a href="di-11-zhang-datanode.html">
            
                    
                    第 11 章 DataNode
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="di-11-zhang-datanode/111-datanodegong-zuo-ji-zhi.html">
            
                <a href="di-11-zhang-datanode/111-datanodegong-zuo-ji-zhi.html">
            
                    
                    11.1 DataNode工作机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="di-11-zhang-datanode/112-datanodede-mu-lu-jie-gou.html">
            
                <a href="di-11-zhang-datanode/112-datanodede-mu-lu-jie-gou.html">
            
                    
                    11.2 DataNode的目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="di-11-zhang-datanode/112-shu-ju-wan-zheng-xing.html">
            
                <a href="di-11-zhang-datanode/112-shu-ju-wan-zheng-xing.html">
            
                    
                    11.3 数据完整性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="di-11-zhang-datanode/114-diao-xian-shi-xian-can-shu-she-zhi.html">
            
                <a href="di-11-zhang-datanode/114-diao-xian-shi-xian-can-shu-she-zhi.html">
            
                    
                    11.4 掉线时限参数设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="di-11-zhang-datanode/115-datanodeduo-mu-lu-pei-zhi.html">
            
                <a href="di-11-zhang-datanode/115-datanodeduo-mu-lu-pei-zhi.html">
            
                    
                    11.5 DataNode多目录配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第 3 部分 MapReduce</li>
        
        
    

    
        
        <li class="header">第 4 部分 Hadoop高级特性</li>
        
        
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >第 7 章 HDFS的shell操作</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;-7-&#x7AE0;-hdfs&#x7684;shell&#x64CD;&#x4F5C;">&#x7B2C; 7 &#x7AE0; <code>HDFS</code>&#x7684;<code>shell</code>&#x64CD;&#x4F5C;</h1>
<p>&#x64CD;&#x4F5C;<code>HDFS</code>&#x6709; 3 &#x79CD;&#x65B9;&#x5F0F;, </p>
<ul>
<li><p><code>hadoop fs <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>args</span><span class="token punctuation">&gt;</span></span></code></p>
</li>
<li><p><code>hdfs dfs <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>args</span><span class="token punctuation">&gt;</span></span></code></p>
</li>
<li><p><code>hadoop dfs <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>args</span><span class="token punctuation">&gt;</span></span></code></p>
</li>
</ul>
<p>&#x8FD9; 3 &#x79CD;&#x65B9;&#x5F0F;&#x4E2D;, &#x524D; 2 &#x79CD;&#x5B8C;&#x5168;&#x7B49;&#x4EF7;: &#x5373;&#x53EF;&#x4EE5;&#x64CD;&#x4F5C;<code>HDFS</code>, &#x4E5F;&#x53EF;&#x4EE5;&#x64CD;&#x4F5C;&#x4E00;&#x4E9B;&#x5176;&#x4ED6;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;:<code>Local FS, HFTP FS, S3 FS, and others</code></p>
<p>&#x7B2C; 3 &#x79CD;&#x65B9;&#x5F0F;, &#x53EA;&#x80FD;&#x64CD;&#x4F5C;<code>HDFS</code>, &#x76EE;&#x524D;&#x5DF2;&#x7ECF;&#x8FC7;&#x65F6;, &#x4E0D;&#x5EFA;&#x8BAE;&#x518D;&#x4F7F;&#x7528;.</p>
<p><span style="color:red; font-weight=bold">&#x63A8;&#x8350;&#x4F7F;&#x7528;:<code>hadoop fs <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>args</span><span class="token punctuation">&gt;</span></span></code></span></p>
<p><code>hdfs</code>&#x7684;&#x5F88;&#x591A;&#x64CD;&#x4F5C;&#x547D;&#x540D;&#x975E;&#x5E38;&#x7C7B;&#x4F3C;&#x4E8E;<code>Linux</code>&#x7684;<code>shell</code>&#x547D;&#x4EE4;, &#x6240;&#x4EE5;&#x5B66;&#x8D77;&#x6765;&#x5E76;&#x6CA1;&#x6709;&#x96BE;&#x5EA6;.</p>
<hr>
<h2 id="72-hdfs&#x547D;&#x4EE4;&#x7EFC;&#x8FF0;">7.2 <code>HDFS</code>&#x547D;&#x4EE4;&#x7EFC;&#x8FF0;</h2>
<p>&#x4F7F;&#x7528;&#x5982;&#x4E0B;&#x683C;&#x5F0F;&#x6765;&#x64CD;&#x4F5C;<code>HDFS</code>&#x7684;<code>Shell</code>.</p>
<pre class="language-"><code class="lang-bash">hadoop fs <span class="token operator">&lt;</span>args<span class="token operator">&gt;</span>
</code></pre>
<ol>
<li><p>&#x6240;&#x6709;&#x7684;<code>shell</code>&#x547D;&#x4EE4;&#x90FD;&#x4F1A;&#x4F7F;&#x7528;&#x5230;<code>path URIs</code>&#x4F5C;&#x4E3A;&#x53C2;&#x6570;.</p>
</li>
<li><p><code>URI</code>&#x7684;&#x683C;&#x5F0F;: <code>scheme://authority:port/path</code></p>
</li>
<li><p>&#x5982;&#x679C;&#x64CD;&#x4F5C;<code>HDFS</code>,<code>scheme</code>&#x5C31;&#x662F;<code>hdfs</code></p>
</li>
<li><p>&#x5982;&#x679C;&#x64CD;&#x4F5C;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;, <code>scheme</code>&#x5C31;&#x662F;<code>file</code></p>
</li>
<li><p><code>scheme</code>&#x548C;<code>authority</code>&#x90FD;&#x53EF;&#x4EE5;&#x7701;&#x7565;, &#x5982;&#x679C;&#x7701;&#x7565;&#x5219;&#x9ED8;&#x8BA4;&#x4F7F;&#x7528;<code>hdfs://NameNodeHost:port</code>(<code>NameNodeHost:port</code>&#x662F;&#x4F60;&#x5728;<code>core-site.xml</code>&#x4E2D;&#x8BBE;&#x7F6E;&#x7684;&#x503C;)</p>
</li>
<li><p>&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x7684;&#x7684;&#x662F;&#x90FD;&#x662F;&#x7701;&#x7565;&#x6389;<code>scheme</code>&#x548C;<code>authority</code></p>
</li>
<li><p>&#x5982;&#x679C;&#x64CD;&#x4F5C;&#x672C;&#x5730;&#x7CFB;&#x7EDF;, &#x7528;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x63D0;&#x4F9B;&#x7684;<code>shell</code>, &#x800C;&#x4E0D;&#x4F1A;&#x4F7F;&#x7528;<code>HDFS</code>&#x63D0;&#x4F9B;&#x7684;<code>shell</code></p>
</li>
</ol>
<h3 id="&#x4F8B;&#x5982;">&#x4F8B;&#x5982;:</h3>
<pre class="language-"><code class="lang-bash">hadoop fs -ls hdfs://hadoop201:9000/

<span class="token comment" spellcheck="true"># &#x5B8C;&#x5168;&#x7B49;&#x4EF7;&#x4E8E;:</span>
hadoop fs -ls /
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531100781032.png"></p>
<hr>
<pre class="language-"><code class="lang-bash"><span class="token comment" spellcheck="true"># &#x64CD;&#x4F5C;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;. file:// &#x534F;&#x8BAE;.  &#x6700;&#x540E;&#x4E00;&#x4E2A; / &#x8868;&#x793A;&#x6839;&#x76EE;&#x5F55;</span>
hadoop fs -ls file:///

<span class="token comment" spellcheck="true"># &#x5B8C;&#x5168;&#x7B49;&#x4EF7;&#x4E8E;:</span>
<span class="token function">ls</span>
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531101023112.png"></p>
<hr>
<h2 id="73-hdfs&#x5E38;&#x7528;&#x7684;shell&#x547D;&#x4EE4;">7.3 <code>HDFS</code>&#x5E38;&#x7528;&#x7684;<code>shell</code>&#x547D;&#x4EE4;</h2>
<ol>
<li><p><code>ls</code></p>
<p>&#x663E;&#x793A;&#x76EE;&#x5F55;&#x4FE1;&#x606F;.</p>
<pre class="language-"><code class="lang-bash">hadoop fs -ls /
</code></pre>
<hr>
</li>
<li><p><code>put</code></p>
<p>&#x628A;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x4E0A;&#x4F20;&#x5230;<code>HDFS</code>.</p>
<p>&#x8BED;&#x6CD5;:<code>hadoop fs -put localFile hdfsFile</code></p>
<p><code>options</code>:
<code>-f</code>: &#x5982;&#x679C;&#x5DF2;&#x7ECF;&#x5B58;&#x5728;, &#x5219;&#x5F3A;&#x5236;&#x8986;&#x76D6;
<code>-p</code>: &#x4FDD;&#x7559;&#x6587;&#x4EF6;&#x7684;&#x8BBF;&#x95EE;&#x548C;&#x4FEE;&#x6539;&#x65F6;&#x95F4;, &#x62E5;&#x6709;&#x8005;&#x548C;&#x6743;&#x9650;.</p>
<pre class="language-"><code class="lang-bash">hadoop fs -put words.txt /a
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531101681644.png"></p>
<blockquote>
<h4 id="&#x6CE8;&#x610F;"><em>&#x6CE8;&#x610F;:</em></h4>
</blockquote>
<ul>
<li>&#x4E5F;&#x53EF;&#x4EE5;&#x540C;&#x65F6;&#x4E0A;&#x4F20;&#x591A;&#x4E2A;: <code>hadoop fs -put localFile1 loalFile2 hdfsFile</code></li>
</ul>
<hr>
</li>
<li><p><code>get</code></p>
<p>&#x4ECE;<code>HDFS</code>&#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x5230;&#x672C;&#x5730;</p>
<p>&#x8BED;&#x6CD5;:<code>hadoop fs -get <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>src</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>localDir</span><span class="token punctuation">&gt;</span></span></code></p>
<p><code>options</code>:
<code>-p</code>:
<code>-f</code>:
<code>-ignorecrc</code>: &#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x7684;&#x65F6;&#x5019;&#x5FFD;&#x7565;<code>CRC</code>&#x6821;&#x9A8C;
<code>-crc</code>: write CRC checksums for the files downloaded.</p>
<hr>
</li>
<li><p><code>cat</code></p>
<p>&#x67E5;&#x770B;&#x6587;&#x4EF6;&#x5185;&#x5BB9;</p>
<hr>
</li>
<li><p><code>appendToFile</code></p>
<p>&#x628A;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x7684;&#x6587;&#x4EF6;&#x8FFD;&#x52A0;&#x5230;<code>HDFS</code>&#x4E2D;&#x7684;&#x6587;&#x4EF6;&#x7684;&#x5C3E;&#x90E8;. 
&#x4E5F;&#x53EF;&#x4EE5;&#x628A;&#x6807;&#x51C6;&#x8F93;&#x5165;&#x6D41;&#x4E2D;&#x7684;&#x6570;&#x636E;&#x8FFD;&#x52A0;&#x5230;<code>HDFS</code>&#x4E2D;&#x7684;&#x6587;&#x4EF6;&#x7684;&#x5C3E;&#x90E8;. </p>
<p>&#x8BED;&#x6CD5;:<code>hadoop fs -appendToFile <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>local</span><span class="token punctuation">&gt;</span></span> ... <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>dst</span><span class="token punctuation">&gt;</span></span></code></p>
<p>&#x4F8B;&#x5982;:</p>
<pre class="language-"><code class="lang-bash">hadoop fs -appendToFile words3.txt /a/words.txt
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531111255334.png"></p>
<hr>
</li>
<li><p><code>mkdir</code>
&#x521B;&#x5EFA;&#x76EE;&#x5F55;.
&#x4F7F;&#x7528;&#x65B9;&#x5F0F;&#x548C;<code>Linux</code>&#x4E0B;&#x7684;<code>mkdir</code>&#x4E00;&#x81F4;.</p>
<hr>
</li>
<li><p><code>tail</code></p>
<p>&#x663E;&#x793A;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x672B;&#x5C3E;</p>
<hr>
</li>
<li><p><code>chgrp &#x3001;chmod&#x3001;chown</code>&#xFF1A;</p>
<p><code>linux</code>&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x4E2D;&#x7684;&#x7528;&#x6CD5;&#x4E00;&#x6837;&#xFF0C;&#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x6240;&#x5C5E;&#x6743;&#x9650;</p>
<hr>
</li>
<li><p><code>copyFromLocal</code></p>
<p>&#x4ECE;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x4E2D;&#x62F7;&#x8D1D;&#x6587;&#x4EF6;&#x5230;hdfs&#x8DEF;&#x5F84;&#x53BB;</p>
<hr>
</li>
<li><p><code>copyToLocal</code></p>
<p>&#x4ECE;<code>HDFS</code>&#x62F7;&#x8D1D;&#x5230;&#x672C;&#x5730;.</p>
<p>&#x4E0E;<code>get</code>&#x7C7B;&#x4F3C;, &#x6BD4;<code>get</code>&#x66F4;&#x52A0;&#x4E25;&#x683C;, &#x56E0;&#x4E3A;&#x76EE;&#x7684;&#x5730;&#x4E25;&#x683C;&#x9650;&#x5236;&#x5728;&#x4E86;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;</p>
<hr>
</li>
<li><p><code>copyFromLocal</code></p>
<p>&#x4ECE;&#x672C;&#x5730;<code>copy</code>&#x5230;<code>HDFS</code></p>
<p>&#x4E0E;<code>put</code>&#x7C7B;&#x4F3C;, &#x6BD4;<code>put</code>&#x66F4;&#x4E25;&#x683C;, &#x56E0;&#x4E3A;&#x6E90;&#x4E25;&#x683C;&#x9650;&#x5236;&#x5728;&#x4E86;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;.</p>
<hr>
</li>
<li><p><code>cp</code>&#xFF1A;
&#x4ECE;<code>hdfs</code>&#x7684;&#x4E00;&#x4E2A;&#x8DEF;&#x5F84;&#x62F7;&#x8D1D;&#x5230;<code>hdfs</code>&#x7684;&#x53E6;&#x4E00;&#x4E2A;&#x8DEF;&#x5F84;</p>
<hr>
</li>
<li><p><code>mv</code>:</p>
<p>&#x5728;<code>hdfs</code>&#x76EE;&#x5F55;&#x4E2D;&#x79FB;&#x52A8;&#x6587;&#x4EF6;</p>
<hr>
</li>
<li><p><code>getmerge</code></p>
<p>&#x5408;&#x5E76;&#x4E0B;&#x8F7D;&#x591A;&#x4E2A;&#x6587;&#x4EF6;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531107041071.png"></p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531107134251.png"></p>
<hr>
</li>
<li><p><code>rm</code></p>
<p>&#x5220;&#x9664;&#x6587;&#x4EF6;&#x6216;&#x6587;&#x4EF6;&#x5939;</p>
<hr>
</li>
<li><p><code>rmdir</code></p>
<p>&#x5220;&#x9664;&#x7A7A;&#x76EE;&#x5F55;</p>
<hr>
</li>
<li><p><code>setrep</code></p>
<p>&#x8BBE;&#x7F6E;<code>hdfs</code>&#x4E2D;&#x6587;&#x4EF6;&#x7684;&#x526F;&#x672C;&#x6570;&#x91CF;  </p>
<hr>
</li>
<li><p><code>touchz</code></p>
<p>&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x957F;&#x5EA6;&#x4E3A;<code>0</code>&#x7684;&#x6587;&#x4EF6;. &#x7C7B;&#x4F3C;&#x4E8E;<code>Linux</code>&#x7684;<code>touch</code>&#x547D;&#x4EE4;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531107229937.png"></p>
<hr>
</li>
<li><p><code>df</code></p>
<p>&#x663E;&#x793A;&#x53EF;&#x7528;&#x7A7A;&#x95F4;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531107477114.png"></p>
<hr>
</li>
<li><p><code>du</code></p>
<p>&#x663E;&#x793A;&#x76EE;&#x5F55;&#x6216;&#x6587;&#x4EF6;&#x7684;&#x5360;&#x7528;&#x7A7A;&#x95F4;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531107637057.png"></p>
</li>
</ol>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; &#x5C1A;&#x7845;&#x8C37;&#x5927;&#x6570;&#x636E; 2013-2019 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification"><br>&#x8BE5;&#x6587;&#x4EF6;&#x6700;&#x540E;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-11-20 18:14:11
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="di-6-zhang-hdfs-gai-shu.html" class="navigation navigation-prev " aria-label="Previous page: 第 6 章 HDFS概述">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html" class="navigation navigation-next " aria-label="Next page: 第 8 章 HDFS客户端操作">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第 7 章 HDFS的shell操作","level":"2.2","depth":1,"next":{"title":"第 8 章 HDFS客户端操作","level":"2.3","depth":1,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo.md","articles":[{"title":"8.1 客户端环境准备","level":"2.3.1","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.md","articles":[]},{"title":"8.2 使用Java程序来访问HDFS","level":"2.3.2","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.md","articles":[]},{"title":"8.3 在HDFS中创建目录","level":"2.3.3","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.md","articles":[]},{"title":"8.4 上传文件","level":"2.3.4","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.md","articles":[]},{"title":"8.5 下载文件","level":"2.3.5","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.md","articles":[]},{"title":"8.6 文件夹删除","level":"2.3.6","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.md","articles":[]},{"title":"8.7 文件名更改","level":"2.3.7","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.md","articles":[]},{"title":"8.8 文件详情查看","level":"2.3.8","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.md","articles":[]},{"title":"8.9 文件和文件夹判断","level":"2.3.9","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.md","articles":[]},{"title":"8.10 HDFS的I/O流操作","level":"2.3.10","depth":2,"path":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.md","ref":"di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.md","articles":[]}]},"previous":{"title":"第 6 章 HDFS概述","level":"2.1","depth":1,"path":"di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.md","ref":"di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter","expandable-chapters-small","page-toc-button","-highlight","prism","prism-themes","tbfed-pagefooter","sitemap","change_girls","livereload"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy 尚硅谷大数据 2013-2019","modify_label":"<br>该文件最后修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prism-themes/themes/prism-base16-ateliersulphurpool.light.css"]},"disqus":{"shortName":"zhenchao125"},"livereload":{},"splitter":{},"change_girls":{"time":30,"urls":["http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/62171757.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/83394736.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3394270.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/65028582.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/20359261.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/37472401.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3355397.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/11075549.jpg-atguiguImg"]},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sitemap":{"hostname":"https://www.gitbook.com/@zhenchao125"},"page-toc-button":{"maxTocDepth":3,"minTocSize":2},"prism-themes":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":" 李振超","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"大数据hadoop课堂笔记","language":"zh-hans","links":{"sidebar":{"联系我们":"http://www.atguigu.com/"}},"gitbook":"*","description":"课堂笔记,学生提前预习"},"file":{"path":"di-2-bu-fen-hdfs/di-7-zhang-hdfs-de-shell-cao-zuo.md","mtime":"2018-11-20T10:14:11.886Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-28T00:23:48.052Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-change_girls/girls.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

